package com.gscitysfy.cus.drain.modules.pipe.service;

import com.gscitysfy.cus.drain.modules.pipe.entity.CifrsPipeMnPipeline;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gscitysfy.cus.drain.modules.pipe.entity.DrainPipeNetworkPage;

import java.util.List;

/**
 * @author Administrator
 * @since 2022-11-15 15:38:27
 */
public interface ICifrsPipeMnPipelineService extends IService<CifrsPipeMnPipeline> {

    /**
     * 查询管道信息
     * @param guids
     * @return
     */
    List<DrainPipeNetworkPage> findPip(List<String> guids);

    /**
     * 计算管网类型覆盖率
     * @param pipType
     * @param guids
     * @return
     */
    double coverage(String pipType, List<String> guids);
}
